package org.thanos.demo.api;

import org.springframework.stereotype.Component;
import org.thanos.demo.entity.Demo;

@Component
public class DemoServiceFallback implements DemoService{

    @Override
    public String getDemo(String name) {
        return "getDemo error";
    }

    @Override
    public String getDemoParam(String name) {
        return "getDemoParam error";
    }

    @Override
    public String postDemo(String name) {
        return "postDemo error";
    }

    @Override
    public String requestDemo(Demo demo) {
        return "requestDemo error";
    }
}